<?php
 /**
 +------------------------------------------------------------------------------
 * Html辅助类
 +------------------------------------------------------------------------------
 * @Version  2.2
 * @Author   WangXian
 * @E-mail    admin@loopx.cn
 * @package  others
 * @FileName  Html.class.php
 * @Creation  date 2010-10-17
 * @Modified  date 2010-10-17
 +------------------------------------------------------------------------------
 */
class Html
{
	/** html下拉框，选中 **/
	public static function selected($str1,$str2)
	{return $str1 == $str2 ? 'selected="selected"':'';}
	
	/**  html复选框，选中 **/
	public static function checked($str1,$str2)
	{return $str1 == $str2 ? 'checked="checked"':'';}
	

}

/* End of file Html.class.php */
/* Location: Html.class.php */